﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNHDAO
{
    public class MonAnDAO:Repository<MonAn>
    {
        public MonAn GetByID(int mamonan)
        {
            return All().Where(m => m.MaMonAn == mamonan).Single();
        }
    }
}
